package cn.yj.cgs.dba.entity.vo;

import cn.yj.cgs.dba.StringToDateDeSerializer;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 永健
 * @since 2021-04-29 10:42
 */
@Data
public class PackagesVo {
    private Integer id;

    @JsonDeserialize(using = StringToDateDeSerializer.class)
    private Date effectivTime;
    private String userCode;
    private String packageNo;
    private String content;
    private String packageStatus;
    private String packageAddr;
    private String receivingAddr;
    private String urgentState;
    private String packageType;
    private String remark;
    private String auditStatus;
    @NotNull(message = "请填写服务费")
    private BigDecimal serviceFees = BigDecimal.ZERO;
}
